package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 配送员账户对象 biz_rider_account
 * 
 * @author ruoyi
 * @date 2025-07-01
 */
public class BizRiderAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 配送员ID */
    @Excel(name = "配送员ID")
    private Integer riderId;

    /** 配送员姓名 */
    @Excel(name = "配送员姓名")
    private String name;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 工作类型（全职专送、兼职众包等） */
    @Excel(name = "工作类型", readConverterExp = "全=职专送、兼职众包等")
    private String workType;

    /** 配送薪资 */
    @Excel(name = "配送薪资")
    private BigDecimal deliverySalary;

    /** 奖励提成 */
    @Excel(name = "奖励提成")
    private BigDecimal reward;

    /** 累计收入 */
    @Excel(name = "累计收入")
    private BigDecimal totalIncome;

    /** 已入账户额 */
    @Excel(name = "已入账户额")
    private BigDecimal depositedAmount;

    /** 未入账户额 */
    @Excel(name = "未入账户额")
    private BigDecimal unsettledAmount;

    /** 账户余额 */
    @Excel(name = "账户余额")
    private BigDecimal accountBalance;

    /** 账户状态（正常、冻结） */
    @Excel(name = "账户状态", readConverterExp = "正=常、冻结")
    private String accountStatus;

    /** 可提现金额 */
    @Excel(name = "可提现金额")
    private BigDecimal withdrawableAmount;

    /** 保证金 */
    @Excel(name = "保证金")
    private BigDecimal deposit;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setRiderId(Integer riderId)
    {
        this.riderId = riderId;
    }

    public Integer getRiderId()
    {
        return riderId;
    }

    public void setRiderName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setWorkType(String workType) 
    {
        this.workType = workType;
    }

    public String getWorkType() 
    {
        return workType;
    }

    public void setDeliverySalary(BigDecimal deliverySalary) 
    {
        this.deliverySalary = deliverySalary;
    }

    public BigDecimal getDeliverySalary() 
    {
        return deliverySalary;
    }

    public void setReward(BigDecimal reward) 
    {
        this.reward = reward;
    }

    public BigDecimal getReward() 
    {
        return reward;
    }

    public void setTotalIncome(BigDecimal totalIncome) 
    {
        this.totalIncome = totalIncome;
    }

    public BigDecimal getTotalIncome() 
    {
        return totalIncome;
    }

    public void setDepositedAmount(BigDecimal depositedAmount) 
    {
        this.depositedAmount = depositedAmount;
    }

    public BigDecimal getDepositedAmount() 
    {
        return depositedAmount;
    }

    public void setUnsettledAmount(BigDecimal unsettledAmount) 
    {
        this.unsettledAmount = unsettledAmount;
    }

    public BigDecimal getUnsettledAmount() 
    {
        return unsettledAmount;
    }

    public void setAccountBalance(BigDecimal accountBalance) 
    {
        this.accountBalance = accountBalance;
    }

    public BigDecimal getAccountBalance() 
    {
        return accountBalance;
    }

    public void setAccountStatus(String accountStatus) 
    {
        this.accountStatus = accountStatus;
    }

    public String getAccountStatus() 
    {
        return accountStatus;
    }

    public void setWithdrawableAmount(BigDecimal withdrawableAmount) 
    {
        this.withdrawableAmount = withdrawableAmount;
    }

    public BigDecimal getWithdrawableAmount() 
    {
        return withdrawableAmount;
    }

    public void setDeposit(BigDecimal deposit) 
    {
        this.deposit = deposit;
    }

    public BigDecimal getDeposit() 
    {
        return deposit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("riderId", getRiderId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("workType", getWorkType())
            .append("deliverySalary", getDeliverySalary())
            .append("reward", getReward())
            .append("totalIncome", getTotalIncome())
            .append("depositedAmount", getDepositedAmount())
            .append("unsettledAmount", getUnsettledAmount())
            .append("accountBalance", getAccountBalance())
            .append("accountStatus", getAccountStatus())
            .append("withdrawableAmount", getWithdrawableAmount())
            .append("deposit", getDeposit())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
